#!/usr/bin/zsh
ZSH_HOME=~/.oh-my-zsh
ZSHRC=~/.zshrc
ZSH_PLUG=${ZSH_HOME}/custom/plugins

rm -rf $ZSH_HOME
git clone https://gitee.com/mirrors/ohmyzsh.git $ZSH_HOME
git clone https://gitee.com/sourcemirror/zsh-syntax-highlighting.git $ZSH_PLUG/zsh-syntax-highlighting
git clone https://gitee.com/JinfengX/zsh-autosuggestions.git $ZSH_PLUG/zsh-autosuggestions

rm -rf $ZSHRC
wget https://gitee.com/MiaoHao-oops/configure-files/raw/master/zshconfig/.zshrc $ZSHRC

source $ZSHRC
